package cn.levill.infrastructure.persistent.dao;

import cn.levill.infrastructure.persistent.po.RaffleActivitySku;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Levill
 * @description 抽奖活动sku DAO
 * @date 2025/02/19 15:11
 */
@Mapper
public interface IRaffleActivitySkuDao {
    RaffleActivitySku queryActivitySku(Long sku);

    void updateActivitySkuStock(Long sku);

    void clearActivitySkuStock(Long sku);

    List<RaffleActivitySku> queryActivitySkuListByActivityId(Long activityId);

    List<RaffleActivitySku> querySkuList();
}
